package request

import (
	"time"

	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"github.com/flipped-aurora/gin-vue-admin/server/model/business"
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
)

type ClassifySearch struct {
	business.Classify
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}

type ClassifyUpdate struct {
	global.GVA_MODEL
	Name string `json:"name" form:"name" gorm:"column:name;comment:分类名称;size:20;" verify:"分类名称"` //分类名称
}
